package com.sf.dlb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 入口
 * 	事物
 * 	服务扫描
 * 	配置
 * 	线程池
 * Created by tanjing on 2018/12/10.
 *
 */
@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan
@Configuration
@EnableAsync
@MapperScan("com.sf.dlb.mapper.dao")
public class DlbWebApplication {

	public static void main(String[] args) {
		SpringApplication.run(DlbWebApplication.class, args);
	}
}

